package com.lingxu.api.ztb.mapper;

import com.lingxu.api.ztb.model.ZtbBidwinshow;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.api.ztb.model.vo.ZtbBiddingnoticeVO;
import com.lingxu.api.ztb.model.vo.ZtbBidwinshowVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;

/**
 * 中标结果公告表 Mapper接口
 *
 * @author admin
 * @since 2025-07-18
 */
@Mapper
public interface ZtbBidwinshowMapper extends BaseMapper<ZtbBidwinshow> {
    /**
     * 查询中标结果公告表
     *
     * @return
     */
    List<ZtbBidwinshowVO> selectZtbBidwinshowList(@Param("query") ZtbBidwinshowVO vo);

    IPage<ZtbBidwinshowVO> pageList(@Param("page") Page<ZtbBidwinshowVO> page, @Param("query") ZtbBidwinshowVO vo);

    List<ZtbBidwinshowVO> getDataForExport(@Param("query") ZtbBidwinshowVO vo);

    void createTempTable(@Param("batchFlag")String batchFlag);
    void insertTempTable(@Param("list") List<ZtbBidwinshowVO> dataList, @Param("batchFlag")String batchFlag);
    void insertTable(@Param("batchFlag")String batchFlag);
    void dropTempTable(@Param("batchFlag")String batchFlag);
    void deleteAll();
    ZtbBidwinshowVO getZtbBidwinshow(@Param("query")ZtbBiddingnoticeVO query);

    Page<ZtbBidwinshowVO> listZtbBidwinshow(@Param("page") Page<ZtbBidwinshowVO> page ,@Param("query")ZtbBiddingnoticeVO query);
}
